int RH_ShowHelp(HWND hParent, const char * a_pszHelpFile, unsigned int uCommand, DWORD dwData)
hParent
Handle to the parent window. This is currently reserved for future versions of the API.
Can be a window handle or 0.
a_pszHelpFile
WebHelp:
Path to help system start page ("http://www.myurl.com/help/help.htm" or "/help/help.htm")
For custom windows (defined in Help project), add ">" followed by the window name ("/help/help.htm>mywin")
WebHelp Enterprise:
Path to RoboEngine server ("http://RoboEngine/roboapi.asp")
If automatic merging is turned off in RoboEngine Configuration Manager, specify the project name in the URL ("http://RoboEngine/roboapi.asp?project=myproject")
For custom windows (defined in Help project), add ">" followed by the window name ("http://RoboEngine/roboapi.asp>mywindow")
uCommand
Command to display help. One of the following:
HH_HELP_CONTEXT ' Displays the topic associated with the Map ID sent in dwData
if 0, then default topic is displayed.
The following display the default topic and the Search, Index, or TOC pane.
Note: The pane displayed in WebHelp Enterprise will always be the window's default pane.
HH_DISPLAY_SEARCH
HH_DISPLAY_INDEX
HH_DISPLAY_TOC
dwData
Map ID associated with the topic to open (if using HH_HELP_CONTEXT), otherwise 0
RH_AssociateOfflineHelp("http://RoboEngine/roboapi.asp?project=MyAppHelp", "C:\Program Files\MyApp\help\help.htm"); // Associates WebHelp Enterprise and local WebHelp
RH_AssociateOfflineHelp("http://www.myurl.com/help/help.htm>MyWebHelpWindow", "C:\Program Files\MyApp\help.chm>MyHTMLHelpWindow"); // Associates remote WebHelp and local HTML Help (specifying windows)